package com.hznu.stmanage.service;

import com.hznu.stmanage.entity.Teacher;

/**
 * Created by J_Vino on 16/3/6.
 */
public interface TeacherService {

    int deleteByPrimaryKey(Long id);

    int insert(Teacher record);

    int insertSelective(Teacher record);

    Teacher selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Teacher record);

    int updateByPrimaryKey(Teacher record);

    /**
     * 根据工号查找教师
     * @param ID
     * @return
     */
    Teacher findByID(String ID);
}
